package com.tidemark;

/**
 * StockDataModel stands for the "M" in "MVC model"
 *  
 * it contains a table of stocks. 
 * the table can be displayed through any "View" system, such as Console, Swing, Android, etc
 */
public interface StockDataModel{
	
	/**
	 * add a stock to this data model, in order to display
	 * 
	 * @param stock
	 */
	public void add(Stock stock);
	
	
	/**
	 * reset the data model to empty, remove all stocks 
	 */
	public void removeAll();

	/**
	 * get all stocks
	 * @return the stocks
	 */
	public Object[] getAll();
}